package itheima.edu.info.Exdents.intends;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

public class Date02 {
    public static void main(String[] args) {
        LocalDateTime localDateTime=LocalDateTime.of(2020,10,11,04,22,33);
        LocalDate localDate =localDateTime.toLocalDate();
        System.out.println(localDate);
        LocalTime localTime=localDateTime.toLocalTime();
        System.out.println(localTime);
    }
}
